package com.itheima.health.dao;

import com.itheima.health.pojo.RolePermission;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Set;

public interface RolePermissionMapper extends Mapper<RolePermission> {
    /**
     * @Author: 位帅帅
     * @Date: 19:39 2021/1/11
     * @Params: [roleId]
     * @RerurnType: java.util.Set<java.lang.Integer>
     * @Description: 根据角色id查询权限id
    */
    Set<Integer> findPermissionIdsByRoleId(@Param("roleId") Integer roleId);
}
